package com.auxgroup.hr.front.dao.domain;

import org.apache.commons.lang.builder.ToStringBuilder;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 审批附件表
 * The persistent class for the PS_C_MOD_ATT_T database table.
 * 
 */
@Entity
@Table(name="PS_C_MOD_ATT_T")
@NamedQuery(name="PsCModAttT.findAll", query="SELECT p FROM PsCModAttT p")
@IdClass(PsCModAttTPrimary.class)
public class PsCModAttT implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "SEQNBR")
	private BigDecimal seqnbr;

	@Id
	@Column(name = "C_TRANSACTION_NBR")
	private String cTransactionNbr;


	@Column(name = "C_STEP_NBR")
	private BigDecimal cStepNbr;
	@Column(name = "C_USER_NBR")
	private BigDecimal cUserNbr;
	@Column(name = "OPRID")
	private String oprid;
	@Column(name = "ATTACHSYSFILENAME")
	private String attachsysfilename;
	@Column(name = "ATTACHUSERFILE")
	private String attachuserfile;
	@Column(name = "C_FILE_NUM")
	private String cFileNum;
	@Column(name = "C_FILE_DESCR")
	private String cFileDescr;
	@Column(name = "C_YES_NO")
	private String cYesNo;
	@Column(name = "C_WF_OPR_YES")
	private String cWfOprYes;
	@Column(name = "LASTUPDOPRID")
	private String lastupdoprid;
	@Column(name = "LASTUPDDTTM")
	private Date lastupddttm;
	@Column(name = "FILE_PATH")
	private String filePath;
	@Column(name = "BUTTON1")
	private String button1;
	@Column(name = "BUTTON2")
	private String button2;


	public BigDecimal getcStepNbr() {
		return cStepNbr;
	}

	public void setcStepNbr(BigDecimal cStepNbr) {
		this.cStepNbr = cStepNbr;
	}

	public BigDecimal getcUserNbr() {
		return cUserNbr;
	}

	public void setcUserNbr(BigDecimal cUserNbr) {
		this.cUserNbr = cUserNbr;
	}

	public String getOprid() {
		return oprid;
	}

	public void setOprid(String oprid) {
		this.oprid = oprid;
	}

	public String getAttachsysfilename() {
		return attachsysfilename;
	}

	public void setAttachsysfilename(String attachsysfilename) {
		this.attachsysfilename = attachsysfilename;
	}

	public String getcFileNum() {
		return cFileNum;
	}

	public void setcFileNum(String cFileNum) {
		this.cFileNum = cFileNum;
	}

	public String getcFileDescr() {
		return cFileDescr;
	}

	public void setcFileDescr(String cFileDescr) {
		this.cFileDescr = cFileDescr;
	}

	public String getcYesNo() {
		return cYesNo;
	}

	public void setcYesNo(String cYesNo) {
		this.cYesNo = cYesNo;
	}

	public String getcWfOprYes() {
		return cWfOprYes;
	}

	public void setcWfOprYes(String cWfOprYes) {
		this.cWfOprYes = cWfOprYes;
	}

	public String getLastupdoprid() {
		return lastupdoprid;
	}

	public void setLastupdoprid(String lastupdoprid) {
		this.lastupdoprid = lastupdoprid;
	}

	public Date getLastupddttm() {
		return lastupddttm;
	}

	public void setLastupddttm(Date lastupddttm) {
		this.lastupddttm = lastupddttm;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getButton1() {
		return button1;
	}

	public void setButton1(String button1) {
		this.button1 = button1;
	}

	public String getButton2() {
		return button2;
	}

	public void setButton2(String button2) {
		this.button2 = button2;
	}

	public BigDecimal getSeqnbr() {
		return seqnbr;
	}

	public void setSeqnbr(BigDecimal seqnbr) {
		this.seqnbr = seqnbr;
	}

	public String getcTransactionNbr() {
		return cTransactionNbr;
	}

	public void setcTransactionNbr(String cTransactionNbr) {
		this.cTransactionNbr = cTransactionNbr;
	}

	public String getAttachuserfile() {
		return attachuserfile;
	}

	public void setAttachuserfile(String attachuserfile) {
		this.attachuserfile = attachuserfile;
	}

	/* (non-Javadoc)
                 * @see java.lang.Object#toString()
                 */
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

}